﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonTagTime.ModelObject
{
    public class State
    {
        //------------------------------------------------
        //VARIABLE
        //------------------------------------------------
        private int _TotalRecords;
        private int _CurrentPage;
        private int _PageSize;
        private string _OrderBy;
        private string _OrderDirection;
        private string _Condition;
        private int _StateId;
        private string _StateCode;
        private string _CountryCode;        
        private string _StateName;

     

        //------------------------------------------------
        //PROPERTY
        //------------------------------------------------
        public int StateId
        {
            get { return _StateId; }
            set { _StateId = value; }
        }
        public string StateCode
        {
            get { return _StateCode; }
            set { _StateCode = value; }
        }
        public string StateName
        {
            get { return _StateName; }
            set { _StateName = value; }
        }
        public string CountryCode
        {
            get { return _CountryCode; }
            set { _CountryCode = value; }
        }
       
        public int TotalRecords
        {
            get { return _TotalRecords; }
            set { _TotalRecords = value; }
        }

        public string OrderBy
        {
            get { return _OrderBy; }
            set { _OrderBy = value; }
        }

        public string OrderDirection
        {
            get { return _OrderDirection; }
            set { _OrderDirection = value; }
        }

        public int CurrentPage
        {
            get { return _CurrentPage; }
            set { _CurrentPage = value; }
        }

        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }
        public string Condition
        {
            get { return _Condition; }
            set { _Condition = value; }
        }
        public State()
        {
            _CurrentPage = 0;
            _PageSize = 0;
            _TotalRecords = 0;
           
            _StateId = int.MinValue;
            _CountryCode = string.Empty;
            _StateName= string.Empty;
            _StateCode = string.Empty;
        }
    }

    public class StateCollection : List<State>
    { }
}

